<template>
	<upload-simple
		:key="keyValue"
		:style="{ visibility: isUpload ? '' : 'hidden' }"
		ref="uploadSimpleOut"
	></upload-simple>
</template>

<script>
import uploadSimple from '@/components/upload-simple.vue'
export default {
	name: 'uploadIdCard',
	components: {uploadSimple},
	data() {
		return {
			keyValue: '',
			isUpload: false
		}
	},
	mounted() {
		this.$refs.uploadSimpleOut.clickUpload()
	},
	methods: {
        updateCom(){
			this.keyValue = new Date().getTime()
		},
    }
}
</script>
<style scoped></style>
